package com.hsy.dormmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hsy.dormmanage.model.Student;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * 包名:com.hsy.dormmanage.service
 * 用户:86182
 * 时间:20211110:452021/11/9
 */
public interface StudentSer extends IService<Student> {
    //查询所有学生
    //List<Student> queryAllStudent();

    //根据用户id和密码查询用户，用于登录判断
    Student queryById(long id,String pwd);
    //每栋宿舍已打卡人数,参数为楼栋id
    List<Student> queryClockStudent(long id);

    //每栋宿舍未打卡人数,参数为楼栋id
    List<Student> queryNoClockStudent(long id);

    //返回所有疑似人员
    int querySus();
    //导出学生信息
    void outPutStudentList(HttpServletResponse response) throws UnsupportedEncodingException;
}
